package org.example.myleet.p705;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        MyHashSet set = new MyHashSet();
        set.add(1);
        set.add(2);
        Assert.isTrue(set.contains(1));
        Assert.isTrue(!set.contains(3));
        set.add(2);
        Assert.isTrue(set.contains(2));
        set.remove(2);
        Assert.isTrue(!set.contains(2));
    }
}
